package com.foreknow.demo7;

public class TestEmployee {
    public static void main(String[] args) {
        //创建Employee对象
        Employee employee = new Employee(1000,"fender","男",30,3000.0,"市场部");
        //调用get/set方法  顺序：先调用set方法将属性设置一个值，然后再调用get方法获取属性值
        //employee.setEid(1000);
        //employee.setName("fender");
        System.out.println(employee.getEid());
        System.out.println(employee.getName());
        System.out.println(employee.getAge());
    }
}
